package com.situ.scientific.service;

import com.situ.scientific.pojo.Researchers;
import com.situ.scientific.pojo.query.ResearchersQuery;
import com.situ.scientific.pojo.vo.ResearchIdVo;
import com.situ.scientific.util.PageRusult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IResearchersService {
    PageRusult selectByPage(ResearchersQuery researchersQuery);

    int deleteById(int id);

    void importExcel(HttpServletRequest req);

    List<Researchers> selectAll();

    void deleteAll(String[] ids);

    void update(Researchers researchers);

    void add(Researchers researchers);

    Researchers login(String name, String password);

    ResearchIdVo selectById(String id);
}
